package xmu.zfw.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;


@Data
public class SearchReportVO {
    private ReportVO reportVO;
    @NotNull
    private Integer pageIndex;
    @NotNull
    private Integer pageSize;

    @ApiModelProperty(example = "2018-10-01")
    @JsonFormat(pattern = "yyyy-MM-dd",  timezone="GMT+8")
    private String startTime;

    @ApiModelProperty(example = "2018-10-01")
    @JsonFormat(pattern = "yyyy-MM-dd",  timezone="GMT+8")
    private String endTime;
}
